package org.mnswf.scorchedearth.messages {
	
	import org.mnswf.net.IUDPMessage;
	import flash.events.EventDispatcher;
	import mx.charts.chartClasses.StackedSeries;
	
	/**
	 * @author Danny Patterson
	 */
	public class ShotActionMessage extends EventDispatcher implements IUDPMessage {
		
		[Bindable]
		public var angle:Number;
		[Bindable]
		public var power:int;
		[Bindable]
		public var weapon:String;
		
		public function ShotActionMessage() {}
		
		/**
		 * @see org.mnswf.net.IUDPMessage#toObject
		 */
		public function toObject():Object {
			var obj:Object = new Object();
			obj.angle = angle;
			obj.power = power;
			obj.weapon = weapon;
			return obj;
		}
	
	}
	
}